﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="InserirCargo.aspx.cs" Inherits="CursoUNICEUB.InserirCargo" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="Styles/Site.css" rel="stylesheet" type="text/css" />
    
    <style type="text/css">
        .style1
        {
            width: 85px;
        }
        .style4
        {
            width: 73px;
        }
    </style>
     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table style="width:100%;">
        <tr>
            <td class="style4">
                <asp:Label ID="lblCargo" runat="server" Text="Descrição :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtTitCargo" runat="server" Width="262px" MaxLength="50"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtTitCargo" 
                    ErrorMessage="Descrição." ForeColor="Red" 
                    ValidationGroup="InserirCargo">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style4">
                &nbsp;</td>
            <td>
                <asp:Button ID="ButtonInserirCargo" runat="server" Text="Inserir" 
                    onclick="ButtonInserirCargo_Click" />
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                    HeaderText="Favor verificar os seguintes campos :" 
                    ValidationGroup="InserirCargo" />
            </td>
        </tr>
    </table>
</asp:Content>
